<include file="Public/header" />

<section class="container">
<div class="content-wrap">

    <div class="content">
        <div class="single-content">
            <header class="article-header">
            <h1 class="article-title">{$articleInfo.title}</h1>
            <div class="article-meta">
                <span class="item">{$articleInfo.publishtime|dateFormat} / <a href="/category/{$articleInfo.cid}">{$articleInfo.cid|getCategory=title}</a></span>
                <span class="item post-views">阅读({$articleInfo.hotnum})</span>
                <span class="item"></span>
            </div>
            </header>

            <article class="article-content">
            <div class="main-content">
                {$articleInfo.content|contentFormat}
            </div>
            </article>

            <div class="article-share">
                <div class="bdsharebuttonbox">
                    <a href="javascript:;" class="bds_sqq qq" data-cmd="sqq" title="分享到QQ好友">QQ好友</a>
                    <a href="javascript:;" class="bds_qzone qzone" data-cmd="qzone" title="分享到QQ空间">QQ空间</a>
                    <a href="javascript:;" class="bds_tsina long-weibo" data-cmd="tsina" title="分享到微博">微博</a>
                    <a href="javascript:;" class="bds_weixin  sns-wechat weixin" data-cmd="weixin" title="分享到微信">微信</a>
                </div>
                <script>
                    window._bd_share_config={
                        "common":{
                            "bdText":'{$articleInfo.title}',  
                            "bdDesc":'{$articleInfo.content|get_article_desc=180}',  
                            "bdUrl":'{:site_cache('domain')}/article/{$articleInfo.id}',
                            "bdPic":'{$articleInfo.cover|imageUrl}',
                            "bdMini":"2",
                            "bdMiniList":false,
                            "bdPic":"",
                            "bdStyle":"5",
                            "bdSize":"16"
                        },
                        "share":{"bdSize":16}
                    };
                    with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
                </script>
            </div>

        </div>

        <div class="post-comment">
            <div id="SOHUCS" sid="{$articleInfo.id}"></div>
            <script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js" ></script>
            <script type="text/javascript">
            window.changyan.api.config({
                appid: 'cysecrtqf',
                conf: 'prod_0f60e6096665da0ce9f132e72ec60f50'
            });
            </script>        
            </div>
        </div>

    </div>

    <aside class="sidebar">
        <include file="Public/left" />
    </aside>
</section>

<include file="Public/footer" />
